package 里氏替换原则;

public class Test {
    public static void main(String[] args) {
        WDHorse wdHorse=new WDHorse('龙');
        wdHorse.getColor('白');
        BHHorse bhHorse=new BHHorse('小');
        bhHorse.getColor('黑');
    }
}
